package com.sinder.campus_prophet.mapper.jwgl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sinder.campus_prophet.entity.jwgl.TbAchievement;
import com.sinder.campus_prophet.service.jwgl.bean.dto.AchievementDto;
import com.sinder.campus_prophet.service.jwgl.bean.dto.AchievementSynDto;
import com.sinder.campus_prophet.service.jwgl.bean.vo.AchievementVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author AS
 * @description 针对表【tb_achievement(成绩表)】的数据库操作Mapper
 * @createDate 2023-03-15 23:13:21
 * @Entity com.sinder.campus_prophet.entity.jwgl.TbAchievement
 */
@Mapper
public interface TbAchievementMapper extends BaseMapper<TbAchievement> {
    /*批量入库*/
    int insertBatch(@Param("achievementList") List<TbAchievement> achievementList);

    List<AchievementVo> getAchievementList(@Param("achievement") AchievementDto achievement);
}
